package com.exp.practice.workbench.service.teacher;

import com.exp.practice.base.exception.MyException;
import com.exp.practice.workbench.domain.Question;

import java.util.List;

public interface TeacherPracticeService {
    int addQuestion(Question question) throws MyException;

    int getTotal(Question question);

    List<Question> getQuestions(String pageNo, String pageSize, Question question);

    List<Question> getQuestionById(String qid);

    int update(Question question) throws MyException;

    int delete(String[] qid) throws MyException;
}
